package com.hc.sort.server.pojo;

import java.io.Serializable;
import java.util.Date;

//通过网络传输的对象，必须实现Serializable接口
public class Ticket implements Serializable {
	int Id;
	int No;
	String businessCode;
	String businessName;
	Date takeTime;
	String takeIp;
	int waitCount;
	Date callTime;
	int callCount;
	String callIp;
	int callWindow;
	String callerWorkno;
	int isSuccess;
	String desc;
	public int getId() {
		return Id;
	}
	public void setId(int id) {
		Id = id;
	}
	public int getNo() {
		return No;
	}
	public void setNo(int no) {
		No = no;
	}
	public String getBusinessCode() {
		return businessCode;
	}
	public void setBusinessCode(String businessCode) {
		this.businessCode = businessCode;
	}
	public String getBusinessName() {
		return businessName;
	}
	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}
	public Date getTakeTime() {
		return takeTime;
	}
	public void setTakeTime(Date takeTime) {
		this.takeTime = takeTime;
	}
	public String getTakeIp() {
		return takeIp;
	}
	public void setTakeIp(String takeIp) {
		this.takeIp = takeIp;
	}
	public int getWaitCount() {
		return waitCount;
	}
	public void setWaitCount(int waitCount) {
		this.waitCount = waitCount;
	}
	public Date getCallTime() {
		return callTime;
	}
	public void setCallTime(Date callTime) {
		this.callTime = callTime;
	}
	public int getCallCount() {
		return callCount;
	}
	public void setCallCount(int callCount) {
		this.callCount = callCount;
	}
	public String getCallIp() {
		return callIp;
	}
	public void setCallIp(String callIp) {
		this.callIp = callIp;
	}
	public int getCallWindow() {
		return callWindow;
	}
	public void setCallWindow(int callWindow) {
		this.callWindow = callWindow;
	}
	public String getCallerWorkno() {
		return callerWorkno;
	}
	public void setCallerWorkno(String callerWorkno) {
		this.callerWorkno = callerWorkno;
	}
	public int getIsSuccess() {
		return isSuccess;
	}
	public void setIsSuccess(int isSuccess) {
		this.isSuccess = isSuccess;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	@Override
	public String toString() {
		return "Ticket [Id=" + Id + ", No=" + No + ", businessCode=" + businessCode + ", businessName=" + businessName
				+ ", takeTime=" + takeTime + ", takeIp=" + takeIp + ", waitCount=" + waitCount + ", callTime="
				+ callTime + ", callCount=" + callCount + ", callIp=" + callIp + ", callWindow=" + callWindow
				+ ", callerWorkno=" + callerWorkno + ", isSuccess=" + isSuccess + ", desc=" + desc + "]";
	}
}
